Skip to content

Clean up pubsub.py code review fixes - #35

Merged
jamesabel merged 1 commit into
mainfrom
fix/pubsub-code-review
Mar 8, 2026
Merged

Clean up pubsub.py code review fixes#35
jamesabel merged 1 commit into
mainfrom
fix/pubsub-code-review

Conversation

@jamesabel

Copy link
Copy Markdown
Owner

Summary

  • Add missing Event type hint to _SubscriptionThread.__init__
  • Fix variable shadowing in SQS message polling loop (messageparsed)
  • Remove duplicate sqs.get_arn() call in _connect_sns_to_sqs, reuse sqs_arn
  • Unify type hints from Union[str, None] to str | None and remove unused Union import
  • Includes version bump to 7.2.0 and daemon thread fix for _SubscriptionThread

Test plan

  • Run pytest test_awsimple to verify no regressions

🤖 Generated with Claude Code

…ll, unify Union syntax

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jamesabel
jamesabel merged commit 917fd43 into main Mar 8, 2026
2 of 3 checks passed
@jamesabel
jamesabel deleted the fix/pubsub-code-review branch March 8, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant